package com.dyrj.jzb.po;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * KFEJZB6007	会员资金冻结-不验证	MembershipTrancheFreeze
 * 本接口可以实现减少会员的余额，增加市场的担保子账户的余额。资金从会员子账户划转到担保子账户后，可用于支付到其他的会员子账户或被解冻退回。
 * 跟“【6034】会员间交易”相比，进行会员资金冻结的操作，不须要明确最终的收款方信息。
 */

public class Po6007MembershipTrancheFreeze extends PoBase{

    //功能标志 1：冻结（会员→担保）
    //2：解冻（担保→会员）
    //4：见证+收单的冻结资金解冻
    //5: 可提现冻结（会员→担保）
    //6: 可提现解冻（担保→会员）
    //7: 在途充值解冻（担保→会员）
    private String FunctionFlag;
    //资金汇总账号
    private String FundSummaryAcctNo;
    //见证子账户的账号
    private String SubAcctNo;
    //交易网会员代码
    private String TranNetMemberCode;
    //交易金额
    private String TranAmt;
    //交易手续费 解冻时，将根据该金额收取手续费，若无手续费则送0。
    private String TranCommission;
    //币种 默认：RMB
    private String Ccy;
    //订单号 全局唯一，不能与6034/6101/6006/6139订单号相同。
    private String OrderNo;
    //订单内容
    private String OrderContent;
    //备注
    private String Remark;
    //手续费 提现手续费，格式0.00
    private String ReservedMsg;

    //输出 见证系统流水号
    private String FrontSeqNo;
    //输出 保留域
//    private String ReservedMsg;

    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FunctionFlag",this.getFunctionFlag());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("SubAcctNo",this.getSubAcctNo());
        paraKeyDict.put("TranNetMemberCode",this.getTranNetMemberCode());
        paraKeyDict.put("TranAmt",this.getTranAmt());
        paraKeyDict.put("TranCommission",this.getTranCommission());
        paraKeyDict.put("Ccy",this.getCcy());
        paraKeyDict.put("OrderNo",this.getOrderNo());
        paraKeyDict.put("OrderContent",this.getOrderContent());
        paraKeyDict.put("Remark",this.getRemark());
        paraKeyDict.put("ReservedMsg",this.getReservedMsg());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getFunctionFlag() {
        return FunctionFlag;
    }

    public void setFunctionFlag(String functionFlag) {
        FunctionFlag = functionFlag;
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getSubAcctNo() {
        return SubAcctNo;
    }

    public void setSubAcctNo(String subAcctNo) {
        SubAcctNo = subAcctNo;
    }

    public String getTranNetMemberCode() {
        return TranNetMemberCode;
    }

    public void setTranNetMemberCode(String tranNetMemberCode) {
        TranNetMemberCode = tranNetMemberCode;
    }

    public String getTranAmt() {
        return TranAmt;
    }

    public void setTranAmt(String tranAmt) {
        TranAmt = tranAmt;
    }

    public String getTranCommission() {
        return TranCommission;
    }

    public void setTranCommission(String tranCommission) {
        TranCommission = tranCommission;
    }

    public String getCcy() {
        return Ccy;
    }

    public void setCcy(String ccy) {
        Ccy = ccy;
    }

    public String getOrderNo() {
        return OrderNo;
    }

    public void setOrderNo(String orderNo) {
        OrderNo = orderNo;
    }

    public String getOrderContent() {
        return OrderContent;
    }

    public void setOrderContent(String orderContent) {
        OrderContent = orderContent;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getReservedMsg() {
        return ReservedMsg;
    }

    public void setReservedMsg(String reservedMsg) {
        ReservedMsg = reservedMsg;
    }

    public String getFrontSeqNo() {
        return FrontSeqNo;
    }

    public void setFrontSeqNo(String frontSeqNo) {
        FrontSeqNo = frontSeqNo;
    }
}
